package cn.lili.modules.goods.entity.vos;

import cn.lili.modules.goods.entity.dos.Goods;
import cn.lili.modules.goods.entity.dos.Wholesale;
import cn.lili.modules.goods.entity.dto.GoodsParamsDTO;
import cn.lili.modules.store.entity.vos.FreightTemplateVO;
import cn.lili.modules.system.entity.vo.PackConfigVO;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

/**
 * 商品VO
 *
 * @author pikachu
 * @since 2020-02-26 23:24:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GoodsVO extends Goods {

    @Serial
    private static final long serialVersionUID = 6377623919990713567L;

    @ApiModelProperty(value = "分类名称")
    private List<String> categoryName;

    @ApiModelProperty(value = "商品参数")
    private List<GoodsParamsDTO> goodsParamsDTOList;

    @ApiModelProperty(value = "商品图片")
    private List<String> goodsGalleryList;

    @ApiModelProperty(value = "sku列表")
    private List<GoodsSkuVO> skuList;

    @ApiModelProperty(value = "批发商品消费规则列表")
    private List<Wholesale> wholesaleList;

    @ApiModelProperty(value = "运费模版信息")
    private FreightTemplateVO freightTemplate;

    /**
     * 商品图片
     */
    private String goodsImage;
    /**
     * 标签名
     */
    private String goodsTagName;
    /**
     * 发布状态
     */
    private String publishTypeName;
    /**
     * 盲盒名称
     */
    private String mhName;

    /**
     * sku id
     */
    private String goodsSkuId;

    /**
     * 供应链上下架状态
     */
    private String offAndOnCondition;

    /**
     * 礼品配置
     */
    private PackConfigVO packConfig;
    /**
     * 礼包编号
     */
    private String packCode;

    /**
     * 绿色积分
     */
    private Double greenScore;
}
